[INFO] cloning repository https://github.com/benkeil/rust-lambda-poc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benkeil/rust-lambda-poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenkeil%2Frust-lambda-poc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenkeil%2Frust-lambda-poc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] efb8d9c5bf86838958a6d654e02b4f86beb2d601
[INFO] building benkeil/rust-lambda-poc against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenkeil%2Frust-lambda-poc" "/workspace/builds/worker-14/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/benkeil/rust-lambda-poc on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/benkeil/rust-lambda-poc
[INFO] finished tweaking git repo https://github.com/benkeil/rust-lambda-poc
[INFO] tweaked toml for git repo https://github.com/benkeil/rust-lambda-poc written to /workspace/builds/worker-14/source/Cargo.toml
[INFO] crate git repo https://github.com/benkeil/rust-lambda-poc already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/awslabs/aws-lambda-rust-runtime`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded async-stream v0.2.1
[INFO] [stderr]   Downloaded async-stream-impl v0.2.1
[INFO] [stderr]   Downloaded rusoto_credential v0.45.0
[INFO] [stderr]   Downloaded sharded-slab v0.1.0
[INFO] [stderr]   Downloaded rusoto_core v0.45.0
[INFO] [stderr]   Downloaded rusoto_s3 v0.45.0
[INFO] [stderr]   Downloaded base-x v0.2.7
[INFO] [stderr]   Downloaded rusoto_signature v0.45.0
[INFO] [stderr]   Downloaded loom v0.3.6
[INFO] [stderr]   Downloaded fmt v0.1.0
[INFO] [stderr]   Downloaded aws_lambda_events v0.3.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 6ea4f3f8f03feb2cb843fa0634586e541adc37fd8d380abb5c8b41642050910b
[INFO] running `Command { std: "docker" "start" "-a" "6ea4f3f8f03feb2cb843fa0634586e541adc37fd8d380abb5c8b41642050910b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6ea4f3f8f03feb2cb843fa0634586e541adc37fd8d380abb5c8b41642050910b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ea4f3f8f03feb2cb843fa0634586e541adc37fd8d380abb5c8b41642050910b", kill_on_drop: false }`
[INFO] [stdout] 6ea4f3f8f03feb2cb843fa0634586e541adc37fd8d380abb5c8b41642050910b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 11114f9a0ce223ea243b415cbe9a47a0c88ac84d1471e620f0f1bc4ece7381ba
[INFO] running `Command { std: "docker" "start" "-a" "11114f9a0ce223ea243b415cbe9a47a0c88ac84d1471e620f0f1bc4ece7381ba", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling futures-core v0.3.7
[INFO] [stderr]    Compiling futures-sink v0.3.7
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling futures-io v0.3.7
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling cc v1.0.61
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling openssl v0.10.30
[INFO] [stderr]    Compiling native-tls v0.2.4
[INFO] [stderr]    Compiling subtle v2.3.0
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling zeroize v1.1.1
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling fmt v0.1.0
[INFO] [stderr]    Compiling tracing-core v0.1.17
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling standback v0.2.11
[INFO] [stderr]    Compiling time v0.2.22
[INFO] [stderr]    Compiling sharded-slab v0.1.0
[INFO] [stderr]    Compiling futures-channel v0.3.7
[INFO] [stderr]    Compiling futures-task v0.3.7
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling rusoto_core v0.45.0
[INFO] [stderr]    Compiling regex v1.4.2
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling openssl-sys v0.9.58
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.35
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling signal-hook-registry v1.2.2
[INFO] [stderr]    Compiling socket2 v0.3.15
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling dirs-sys v0.3.5
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling dirs v2.0.2
[INFO] [stderr]    Compiling tracing-subscriber v0.2.15
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling sha2 v0.9.2
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling pin-project-internal v1.0.1
[INFO] [stderr]    Compiling futures-macro v0.3.7
[INFO] [stderr]    Compiling tracing-attributes v0.1.11
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling async-trait v0.1.41
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling async-stream-impl v0.2.1
[INFO] [stderr]    Compiling lambda-attributes v0.1.0 (https://github.com/awslabs/aws-lambda-rust-runtime#13aa8f01)
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling async-stream v0.2.1
[INFO] [stderr]    Compiling core v1.0.0 (/opt/rustwide/workdir/code/core)
[INFO] [stderr]    Compiling pin-project v0.4.27
[INFO] [stderr]    Compiling tracing v0.1.21
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> code/core/src/use_cases/hello_world_use_case.rs:6:32
[INFO] [stdout]   |
[INFO] [stdout] 6 |     async fn execute(&self) -> Send;
[INFO] [stdout]   |                                ^^^^ help: use `dyn`: `dyn Send`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `execute` has an incompatible type for trait
[INFO] [stdout]   --> code/core/src/use_cases/hello_world_use_case.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 4  | #[async_trait]
[INFO] [stdout]    | -------------- type in trait
[INFO] [stdout] ...
[INFO] [stdout] 13 | #[async_trait]
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | expected trait object, found `()`
[INFO] [stdout]    | help: change the output type to match the trait: `Pin<Box<(dyn Future<Output = (dyn Send + 'static)> + Send + 'async_trait)>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn(&'life0 HelloWorldUseCase) -> Pin<Box<(dyn Future<Output = (dyn Send + 'static)> + Send + 'async_trait)>>`
[INFO] [stdout]               found fn pointer `fn(&'life0 HelloWorldUseCase) -> Pin<Box<(dyn Future<Output = ()> + Send + 'async_trait)>>`
[INFO] [stdout]    = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: future cannot be sent between threads safely
[INFO] [stdout]   --> code/core/src/use_cases/hello_world_use_case.rs:15:29
[INFO] [stdout]    |
[INFO] [stdout] 15 |       async fn execute(&self) {
[INFO] [stdout]    |  _____________________________^
[INFO] [stdout] 16 | |         let list = self.storage_repository.list();
[INFO] [stdout] 17 | |         let list = list.await;
[INFO] [stdout] 18 | |         println!("Bucket: {:?}", list);
[INFO] [stdout] ...  |
[INFO] [stdout] 21 | |         // }
[INFO] [stdout] 22 | |     }
[INFO] [stdout]    | |_____^ future returned by `__execute` is not `Send`
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `HelloWorldUseCase`, the trait `Sync` is not implemented for `(dyn StorageRepository + 'static)`
[INFO] [stdout] note: future is not `Send` as this value is used across an await
[INFO] [stdout]   --> code/core/src/use_cases/hello_world_use_case.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 15 |     async fn execute(&self) {
[INFO] [stdout]    |                       ---- has type `&HelloWorldUseCase` which is not `Send`
[INFO] [stdout] 16 |         let list = self.storage_repository.list();
[INFO] [stdout] 17 |         let list = list.await;
[INFO] [stdout]    |                    ^^^^^^^^^^ await occurs here, with `self` maybe used later
[INFO] [stdout] ...
[INFO] [stdout] 22 |     }
[INFO] [stdout]    |     - `self` is later dropped here
[INFO] [stdout]    = note: required for the cast to the object type `dyn Future<Output = ()> + Send`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `core`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "11114f9a0ce223ea243b415cbe9a47a0c88ac84d1471e620f0f1bc4ece7381ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11114f9a0ce223ea243b415cbe9a47a0c88ac84d1471e620f0f1bc4ece7381ba", kill_on_drop: false }`
[INFO] [stdout] 11114f9a0ce223ea243b415cbe9a47a0c88ac84d1471e620f0f1bc4ece7381ba
